import { reactive } from "vue";
import type { FormRules } from "element-plus";
import { isPhone } from "@pureadmin/utils";

/** 自定义表单规则校验 */
export const formRules = reactive(<FormRules>{
	brandName: [{ required: true, message: "品牌名称为必填项", trigger: "blur" }],
	brandType: [{ required: true, message: "品牌类型为必填项", trigger: "change" }],
	status: [{ required: true, message: "状态为必填项", trigger: "change" }],
  sort: [{ required: true, message: "排序为必填项", trigger: "blur" }],
});
